package com.gite.nouette.admin.implementation.integrator.builder;

import com.gite.nouette.admin.contract.integrator.builder.IBuilderContainerModule;
import com.gite.nouette.admin.contract.integrator.factory.IFactoryModel;
import com.gite.nouette.admin.contract.model.IContainerModule;

public abstract class AbstractBuilderContainerModule extends AbstractBuilder
		implements IBuilderContainerModule {
	private IContainerModule product = null;

	public AbstractBuilderContainerModule(IFactoryModel factoryModel) {
		super(factoryModel);
	}

	@Override
	public IContainerModule getProduct() {
		return this.product;
	}

	public void setProduct(IContainerModule product) {
		this.product = product;
	}

	@Override
	public void createNewProduct() {
		setProduct(getFactoryModel().getContainerModule());
	}

}
